From: Marco Trevisan (TreviƱo) Date: Sun, 31 Aug 2025 00:58:29 +0000 (+0200) Subject: environment: Drop DesktopAppIcon missing methods workaround X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~95^2^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c3ccf6e8f5849f80966ce82f18377eea077e3afd;p=gnome-shell.git environment: Drop DesktopAppIcon missing methods workaround This will be fixed in GLib 2.85.5 so there's no need to ship a workaround for 49 Part-of: --- diff --git a/js/ui/environment.js b/js/ui/environment.js index a008a372c..77f09bf10 100644 --- a/js/ui/environment.js +++ b/js/ui/environment.js @@ -8,7 +8,6 @@ import Cairo from 'cairo'; import Clutter from 'gi://Clutter'; import Gdk from 'gi://Gdk'; import Gio from 'gi://Gio'; -import GioUnix from 'gi://GioUnix'; import GLib from 'gi://GLib'; import GObject from 'gi://GObject'; import Meta from 'gi://Meta'; @@ -341,29 +340,6 @@ Object.prototype.toString = function () { } }; -// Work around https://gitlab.gnome.org/GNOME/glib/-/issues/3744 -if (!GioUnix.DesktopAppInfo.prototype.has_key) { - GioUnix.DesktopAppInfo.prototype.has_key = function (key) { - return GioUnix.DesktopAppInfo.has_key(this, key); - }; - - GioUnix.DesktopAppInfo.prototype.get_boolean = function (key) { - return GioUnix.DesktopAppInfo.get_boolean(this, key); - }; - - GioUnix.DesktopAppInfo.prototype.get_categories = function () { - return GioUnix.DesktopAppInfo.get_categories(this); - }; - - GioUnix.DesktopAppInfo.prototype.list_actions = function () { - return GioUnix.DesktopAppInfo.list_actions(this); - }; - - GioUnix.DesktopAppInfo.prototype.get_action_name = function (name) { - return GioUnix.DesktopAppInfo.get_action_name(this, name); - }; -} - const slowdownEnv = GLib.getenv('GNOME_SHELL_SLOWDOWN_FACTOR'); if (slowdownEnv) { let factor = parseFloat(slowdownEnv);